package org.sdp.pearproject.service;

import org.sdp.pearproject.dto.request.*;
import org.sdp.pearproject.dto.response.*;
import java.util.List;

/**
 * InterfaceName: OrganizationService
 * @Description:
 * @Author: SDP
 * @Date: 2022-07-04
 * @Version: 1.0
 * Table: pear_organization
 * Comment:
 * 组织表
 */
public interface OrganizationService {
    Integer addOrganization(OrganizationAddRequest request) throws Exception;

    Integer updateOrganization(OrganizationUpdateRequest request) throws Exception;

    Integer deleteOrganization(OrganizationDeleteRequest request) throws Exception;

    OrganizationQueryResponse queryOrganization(OrganizationQueryRequest request) throws Exception;

    List<OrganizationQueryResponse> listOrganization(OrganizationQueryRequest request) throws Exception;

    Integer countOrganization(OrganizationQueryRequest request) throws Exception;

    BaseStatResponse statOrganization(OrganizationQueryRequest request) throws Exception;

}
